import { createApp } from 'vue'
import router from './router'
import App from './App.vue'
import { setupCustomComponents } from '@/components/index'
import './normalize.css'
// import './auto-update'
const app = createApp(App)

// VConsole
if (process.env.NODE_ENV !== 'production' && window.VConsole) {
	new window.VConsole();
}

// 注册全局组件
setupCustomComponents(app)
app.use(router).mount('#app')
